gtkvideo: Track child focus to determine whether controls should autohide
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 24 Jun 2020 13:35:16 +0000 (15:35 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Wed, 24 Jun 2020 18:35:22 +0000 (20:35 +0200)
commit2f8d5e2dcd61b16178c62a104a123ae50e0b497e
tree0d18e219d1f30e2ef07811de535afb831b2a3edb
parentdf30741535aa4698df2f98a2974983554d074f9b
gtkvideo: Track child focus to determine whether controls should autohide

Move away from grab_notify, and use the set_child_focus() vfunc to track
child widgets being set the keyboard focus. This is not 1:1, but seems
good enough at the moment.
gtk/gtkvideo.c